/* 
    Document   : main.css
    Created on : Nov 26, 2007, 12:50:16 PM
    Author     : Geoffrey.Dou   (geoffrey.dou@gmail.com)
    Description:
        Main style of application.
    Modified log:
        Name: 
        Time:
        Log:        
*/

body { 
    margin:0;
    padding:0;
    background:#d7d7d7;
    font-family:Arial, Helvetica, sans-serif;
}

a { color: #24b; }

#container {
    width:96%;
    margin:0 auto;
    min-width:800px;
}

#content {
    margin:1em 0;
    width:640px;
    background:white;
    padding:20px 10px 20px 20px;
    border:5px solid #bbb;
    border-width:0 5px 5px 0;
    float:left;
    min-width:425px;
    min-height:165px;
}

#right {
    margin-top:1em;
    float:left;
    width:19%;
    font-family:'Lucida Grande', 'Trebuchet MS', Arial, Helvetica, sans-serif;
    margin-left:1.25em;
    margin-left:3%;
    margin-right:0;
}

#right p {
    font-size:0.75em;
}
#right a.hidden { color:black; text-decoration:none; border-bottom:1px solid #999; }
#right a.hidden:hover { color:blue; text-decoration:none; border-bottom:1px solid #963; }

#right p.help {
    font-weight:normal;
    font-size:0.75em;
}

#footer {
    margin:0 auto;
    margin-bottom:1em;
    font-family:'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
    font-size:0.75em;
    color:#333;
    margin-left:3%;
    width: 640px;
    padding:0px 15px;
    margin-bottom:3.5em;
}
    #footer .credit {
        text-align: right;
    }
    #footer .credit a {
        color: #333;
    }
    #footer .credit a {
        color: #333;
    }
    #footer .credit a:hover {
        text-decoration: none;
    }        
    
#content {
    font-size: 12px;
} 
    #content a:link {
        color: #36c;
    }    
    #content a:hover {
        color: #fff;
        background-color: #36c;
        text-decoration: none;
    }  
    #content form {margin-bottom:0;}

    #content p.subtle { 
        margin:0 0 0.5em; 
        float:right;
    }
    #content .subtle a {
        color:#999;
        font-size:12px;
    }

#header {
    background:#111;
    padding:10px 0px;
    border-bottom:3px solid #999;
    height: 20px;
}
#user_profile {
    float: left;
    font-size: 12px;
    width: 220px;
    background-color: #fff;
    border-right:5px solid #bbb;
    border-bottom:5px solid #bbb;
    padding: 15px;
}
    #user_profile a:link {
        color: #36c;
    }
    #user_profile a:hover {
        color: #fff;
        background-color: #36c;
        text-decoration: none; 
    }    
    #user_profile .title {
        font-size: 14px;
        font-weight: bold;
        margin: 0;
    }
#tag_pannel {
    float: left;
    font-size: 12px;
    width: 220px;
    background-color: #fff;
    border-right:5px solid #bbb;
    border-bottom:5px solid #bbb;
    padding: 15px;
}
    #tag_pannel a:link {
        color: #36c;
    }
    #tag_pannel a:hover {
        color: #fff;
        background-color: #36c;
        text-decoration: none; 
    }    
    #tag_pannel .title {
        font-size: 14px;
        font-weight: bold;
        margin: 0;
    }
    #tag_pannel input.text {
        padding: 0;
    }
    #tags {
        margin-top: 10px;
    }
form {
    margin: 0;
    padding: 5px 0;
}    
h1,h2,h3,h4,h5,h6 {
    font-family:'Lucida Grande', 'Trebuchet MS', Arial, Helvetica, sans-serif;	
}

h1 {	
    font-size:1.3em; 
}
h1 span { font-size:0.7em; color:#999; font-weight:normal; padding-left: 1em;}
h2 {
    font-size:1.0em;
}
h2 span {
    color:#999;
    font-size:0.7em;
    margin-left:1em;
}
h3 {
    padding:2px 10px 3px;
    background:#333;
    color:white;
    font-size:0.70em;
    border-bottom:1px solid #999;
    font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
}
h6 { margin-bottom:0; }
p {
    font-family:'Lucida Grande', 'Trebuchet MS', Arial, Helvetica, sans-serif;
}
#header #logo,
#header #logo a:link,
#header #logo a:visited {
    float: left;
    margin-left: 10px;
    font-family:'Lucida Grande', 'Trebuchet MS', Arial, Helvetica, sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #9DE394;
    text-decoration: none;
}

#header ul#nav {
    float:left;
    list-style-type:none;
    margin:0;
    margin-top:0.4em;
}

    #header ul#nav li {
        color:gold;
        font-family:'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
        font-size:12px;
        float:left;
        margin-left:1em;
    }

    #header ul#nav li a {
        display:block;
        float:left;
        xcolor:#a86;
        color:#9cf;
        xpadding:3px 1em;
    }
    #header ul#nav li a:hover {
        color:#fc0;
    }

    #header ul#nav li.login a {
        color:gold;
        text-decoration: none;
    }

    #header ul#nav li.active a {
        font-weight:bold;
        xbackground:#222;
        color:#ca8;
    }

    #header ul#nav li.hot a {
        color:orange;
    }
    #header ul#nav li.logout a {
        color:#666;
    }
    
#header ul#stat {
    float:right;
    list-style-type:none;
    margin:0;
    margin-top:0.4em;
    margin-right: 1em;
}
    #header ul#stat li {
        color:gold;
        font-family:'Lucida Grande', Verdana, Arial, Helvetica, sans-serif;
        font-size:12px;
        float:left;
        margin-left:1em;
    }

    #header ul#stat li a {
        display:block;
        float:left;
        xcolor:#a86;
        color:#9cf;
        xpadding:3px 1em;
    }
    #header ul#stat li a:hover {
        color:#fc0;
    } 
label {
    font-family:'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;
    color:#666;
    font-size:12px;
    font-weight:normal;
}
.btn_add {
    height: 24px;
    margin: 0;
    padding: 2px 10px 0 10px;
    font-size: 12px;
}
.notice {
    border: 1px solid #E0F3FF;
    background-color: #EFF8FF;
    color: #0197FB;
    padding: 2px;
    width: 300px;
    text-align: center;
}
.error {
    border: 1px solid #FFCFCF;
    background-color: #FFEFEF;
    color: #FF1A1A;
    padding: 2px;
    width: 300px;
    text-align: center;
}
.url {
    clear: both;
}
    .url p {
        font-family: Arial;
        padding-left: 10px;
    }
    .url .note {
        border-top: 1px dotted #ccc;
        background-color: #f5f5f5;
        padding: 3px;
        width: 96%;
    }
    .url_count {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        float: left;
        font-size: 20px;
        font-weight: bold;
        color: #333;
        border: 1px solid #ccc;
        background-color: #eee;
        width: 30px;
        height: 30px;
        text-align: center;
    }
    .url_body {
        float: left;
        padding: 3px 10px;
        width: 480px;
    }
    .add_for_me {
        padding-top: 10px;
        float: left;
    }
#url_users {
    clear: left;
}
    #url_users p {
        padding-left: 40px;
        font-family: Arial;
        font-size: 14px;
    }
#url_comments {
    clear: both;
}
#url_comments p {
    padding-left: 20px;
}
.url_comment {
    padding-left: 40px;
}
    .url_comment span {
        padding: 2px 20px 2px 5px;
        border-top: 1px dashed #ccc;
        background-color: #f5f5f5;
    }
    .url_comment p {
        font-family: Arial;
    }
#post_comment {
    padding-left: 40px;
}
#post_comment textarea {
    font-family: Arial;
    font-size: 12px;
    width: 400px;
}
#post_comment p input {
    height: 24px;
    margin: 0;
    padding: 2px 10px 0 10px;
    font-size: 12px;
}